package com.xms.schema.core;

import java.io.Serializable;

/**
 * <p>
 * EntityMask
 * </p>
 *
 * @author migo
 * @since 2021/8/31
 */
public enum EntityMask implements Serializable {
    User(1,"user"),
    user(1,"user"),
    Organization(4,"organization"),
    organization(4,"organization");

    EntityMask(int value,String name){
        this.value=value;
        this.name=name;
    }

    public int value(){
        return value;
    }

    public String text(){
        return name;
    }

    private int value;
    private String name;
}
